@charset "UTF-8";
*,
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  font-family: Arial;
  border: none;
}

* {
  scrollbar-width: none; // 隐藏滚动条（Firefox）
  -ms-overflow-style: none; // 隐藏滚动条（IE/Edge）
  // 隐藏Webkit浏览器的滚动条
  &::-webkit-scrollbar {
    display: none;
  }
}

html {
  font-size: calc(100vw / 10);
  background: var(--box-bg-color);
  @media (min-width: 750px) {
    font-size: 75px;
  }
}

ol,
ul {
  list-style: none;
}

#app {
  width: 100vw;
  font-size: 0.345rem;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: var(--max-client-width);
  margin: 0 auto;
  background: var(--app-bg-color);
}

.app_center {
  background-color: var(--app-bg-color);
  height: 100%;
  overflow-y: auto;
  width: 100%;
  max-width: var(--max-client-width);
  position: relative;
  left: 50%;
  transform: translate(-50%);
  top: 0;
}
.page {
  height: 100%;
  overflow-y: auto;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 0;
  width: 100%;
  max-width: var(--max-client-width);
}
.van-overlay {
  background-color: var(--mask-color);
  backdrop-filter: blur(10px);
}
.van-popup {
  background: transparent;
  overflow: visible;
}
.van-toast {
  background: var(--van-toast-background);
}
.full-action-sheet-teleport {
  .van-overlay {
    z-index: 100 !important;
  }
  .van-popup {
    z-index: 100 !important;
    max-height: 100vh !important;
  }
  .van-dialog__content {
    max-height: 100vh !important;
  }
}

.custom-dialog {
  border-radius: 0.5rem;
  overflow: hidden;
  width: 9rem;
  .van-dialog__footer {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    &::after {
      display: none;
    }
  }
  .van-button {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    background: url('/images/layout/icon-close2.png');
    background-size: 100% 100%;
    &::before {
      display: none;
    }
  }
  .van-button__content {
    display: none;
  }
  .van-dialog__content {
    min-height: 2rem;
    background: #3a2943;
    color: var(--theme-dec3);
    font-size: 0.26rem;
    overflow-y: auto;
    max-height: 70vh;
    overflow-y: auto;
  }
  .van-dialog__header {
    color: #fff;
    font-weight: bold;
    font-size: 0.46rem;
    padding-bottom: 0.2rem;
    height: 1.27rem;
    line-height: 1.27rem;
    padding-top: 0;
    background: linear-gradient(to right, #c854ad 0%, #432e4f 100%);
  }
  .van-dialog__message {
    color: #fff;
    font-size: 0.32rem;
    padding: 0.5rem 0.3rem;
  }
}

.home-search-dialog {
  .van-dialog__content {
    max-height: 100vh;
  }
}

.van-notify--success {
  background: var(--van-notify-success-background);
  font-weight: bold;
}

#left_menu_teleport {
  .van-overlay {
    z-index: 200 !important;
  }
  .van-popup {
    z-index: 201 !important;
    left: -100% !important;
    transition: all 0.5s !important;
    transform: scale(1) !important;
    display: block !important;
  }
  .van-action-sheet__content {
    width: 100vw;
    max-width: var(--max-client-width);
    height: 100vh;
    margin: 0 auto;
    position: relative;
  }
}
#left_menu_teleport.open_left_teleport {
  .van-popup {
    left: 0 !important;
  }
}

.init-page-girar-dialog {
  width: 100vw;
  height: 100vh;
  top: 0;
  transform: translateY(0);
  max-width: var(--max-client-width);
  display: flex;
  align-items: center;
  .van-dialog__content {
    max-height: 100vh;
    overflow-y: auto; // 只让内容区域滚动
  }
}

@keyframes refresh {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.refreshing {
  animation: refresh 0.5s linear infinite;
}

.activity-page {
  padding: 1.44rem 0.24rem 0.24rem;
}

// 日期组件
.timer-piker-sheet {
  .van-picker__toolbar {
    height: 1rem;
  }
  .van-picker__cancel,
  .van-picker__confirm {
    font-size: 0.28rem;
  }
  .van-picker__title {
    font-size: 0.32rem;
  }
  .van-picker-column {
    font-size: 0.3rem;
  }
}

// 活动弹窗样式
.activity-dialog {
  width: 100vw;
  overflow: visible;
  .van-dialog__content {
    max-height: 100vh;
    background-color: transparent;
    overflow: visible;
  }
}
.activity-dialog-overlay {
  backdrop-filter: blur(0);
}
